import { StyleSheet } from 'react-native';
import { getScreenInfo } from '../../util/screen';
import { phonePx } from '../../util/adapt';
import {
  APP_BLACK,
  APP_YELLOW,
  INPUT_BACKGROUND_GREY_SECOND
} from '../../constant/color';

const { width } = getScreenInfo({});

export default StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#ffffff',
    width
  },
  content: {
    flex: 1
  },
  loadTitle: {
    flexDirection: 'row',
    alignItems: 'center',
    marginTop: phonePx(20),
    marginLeft: phonePx(20)
  },
  icon: {
    width: phonePx(18),
    height: phonePx(18)
  },
  title: {
    color: APP_BLACK,
    fontSize: phonePx(16),
    fontWeight: '400',
    marginLeft: phonePx(10)
  },
  loadInputs: {
    marginTop: phonePx(8),
    marginHorizontal: phonePx(20)
  },
  input: {
    height: phonePx(50),
    marginTop: phonePx(12),
    backgroundColor: INPUT_BACKGROUND_GREY_SECOND,
    fontSize: phonePx(14),
    color: APP_BLACK,
    lineHeight: phonePx(20),
    paddingHorizontal: phonePx(16),
    borderRadius: phonePx(4)
  },
  desc: {
    marginTop: phonePx(20),
    marginHorizontal: phonePx(20),
    fontSize: phonePx(12),
    color: APP_BLACK,
    lineHeight: phonePx(17),
    fontWeight: '400'
  },
  save: {
    position: 'absolute',
    alignSelf: 'center',
    width: phonePx(270),
    height: phonePx(50),
    borderRadius: phonePx(8),
    backgroundColor: APP_YELLOW,
    justifyContent: 'center',
    alignItems: 'center',
    bottom: phonePx(30)
  },
  saveDesc: {
    fontSize: phonePx(16),
    color: APP_BLACK,
    fontWeight: '500'
  }
});
